minor change to build_tree()