add 2D tree array