wip
fix cutEdge