generating proper geometries