try to clean up incoming geometries with buffer(0)