Houses had flat roofs, and some houses had a ladder or staircase outside to make it easy to go up there. Alternate translation: "they went up to the flat roof of the house"