the palace-and there was no question this was the queen 's palace-stood high up the cavern wall , near the back of the city , the rest of ubar stretched in winding , crooked roads , descending below in terraces , stairs , and ramps .