min max quantities