touch the Polygon#pruneSelfIntersections half-implementation