Square bamboos and the geometree