getMinMax tweek2