fix range of vector to be in 1/8 pels