Create convex polygons

This algorithm worked until so far for quads, hexagons still fail sometimes