Debugged Polygonizer