Square bamboos and the Geometree