"Algorithm" to reduce number of vertices (in a pixel space) for

polygons and polylines (not enabled yet).