Branching factor logic