raise RangeError for out-of-range adjustments