updated getSubGeometries