flatten tree
tree level order list