set max and min for eval-value