maxBranch