Why `IntRange::cast()` call is removed in many places?