merge geometries for performance