Port of simplify-js to rust, compile with: rustc --opt-level=3 -o simplify main.rs run with ./simplify points.json lessPoints.json 0.8