Fix the range of data array.