adjust ranges.