checking geometries