Added highly experimental allowPolygonMerging feature