The flat roof of the prayer hall was supported by columns . Many rows of columns were needed to support such roofs ; this is called `` hypostyle architecture '' . Most early hypostyle mosques had flat roofs on prayer halls , which required the use of numerous columns and supports .