Removal of tree_build_data structure. Moved to global node data