Global Curve Simplification