Merge polygons with the Modeling Toolkit