Material circulation, energy hierarchy, and building construction