move polygon creation in phase3
hash out a basic infilling algorithm
fix location bug in phase1 introduced by the previous optimizations
Revert "fix location bug in phase1 introduced by the previous optimizations"

This reverts commit a0e4cfac5d40e4e1a7c47f72be6ba758337bc1a4.
fix vertex insertion introduced by previous optimizations;
partially working infill algorithm