still having problems with tears in polygons