Improved testing of polygon partitioning. Removes outer region when partitioning.