move l and r search []int allocations outside of tree.grow