Add minmaxinfo struct.