Finish code to process the production of buildings