throw an error when resulting polygon is not simply connected