Special cases in splitting into monotinic polygons are broken and I've
got no idea how to fix it. Leaving it for now.
Replaced MonotonicPolygons.java with half the size scala alternative