breakPolys function

Fix issues with geometries of a vector