min max for level