down these were row after row of warehouses made from kiln-dried bricks ; walled enclosures filled the spaces between the streets to make courtyards of differing sizes , each entered through beautifully wrought gates .