Refine and add another implementation of rebuild tree from traverse
list: C5_8A_RebuildTree.