Changed MinIMax
Changed MinIMax