removed unnecessary code managing polygons with holes