SurfaceGeometry code prettified