He built up the city around it, from the terraces to the surrounding wall, while Joab restored the rest of the city.