limit number of recursions in multipolygon builder