Changing geometries to ShapeGeometry.