get shift_vector.h changed to allow out of range