Get rid of wmin and wmax