Changed minimax values to tuples.