Lps 44676

Brian, let's take this in for now.

Later, I will try to abstract out the tree processing logic out of the ftl, just like the way I did with TableMapper. The current tree logic is not optimized, and quite messy, once we abstract it out, we can do proper unit test and optimize on it.