Prepare for branching