Reorganizing branches