Compactified geometry.cpp