Fix the combination of the max int from a int array