Generalize subrange ints