Increase max branch number in functions.