All of those buildings and the walls around the palace courtyard were made from costly blocks of stone, from the foundations up to the eaves. The stones were cut at the quarry, according to the sizes that were needed, and the sides of the stones were shaped by cutting/smoothing them with saws.