ICE4.2 Max(i, greatest num) fixed