branching factor of a tree