The cost lay mostly in direct labor cost, as most labor had to be paid. (In contrast, raw material cost does not seem to have been much of an issue.) In addition to this explicit outlay, there was also the opportunity cost of labor; for example, masons working on castles could not be employed elsewhere.