working on the PolygonBuilder stage