fixed bug with V-like polygons