change emax,emed,emin