very buggy polygonizer