The Shape of an Earthen Building