ValueErrors now wrapped in RangeExceptions