Simplifying geometries