"each built their own shelters"
These are names of large openings in the wall.
"in the open place by the Gate of Ephraim"