Fixed vectorized range index replacement