Bank queue and planting trees