transform the 3d into 4 elevations