Branching optimization.