Update TreeBuilder.

Configuration is now more clearer.