Added minmaxIA - kinda works ?