safeIntRangeOf