wipe branching inside the branch structure