merge geometries