the city sat on the edge of the taklimakan desert , a hundred and twenty kilometers east from the federation border , within the shadows of the snowy pamirs , some of the highest and most barren mountains in the world .