The wall was built on stone foundations, with compacted earth that was faced with bricks, and the whole thing was glued together using rice flour and water. It has been calculated that 300 million sq. m. of materials were used in the construction, which would have made it possible to build 120 pyramids of Cheops or to erect a two-meter-high wall girdling the entire globe at the equator.