handle multi-geometries too