Mesopotamian homes were typically built of mud bricks or stone with flat roofs. Poorer homes were narrow while wealthier homes had multiple stories and courtyards. Roofs were used as additional living space. Homes shared walls to reduce costs and were clustered near temples in poorer areas. Egyptian homes also had flat roofs and courtyards, with ramps instead of stairs, and were made of mud bricks. Size and number of levels varied depending on wealth. Greek homes centered around open courtyards and were made of stone, wood, or mud bricks, with many rooms for different functions. Roman homes ranged from cramped single rooms for the poor to large multi-room structures with courtyards,