refactor ZeroZBranchProcessor