text: The temple , constructed around a.d. 500 , is encircled by monasteries , shops , and lodges for pilgrims .
  
  ###
  
  The temple was constructed chiefly out of tree resin harvested from the massive forest nearby .