What do you mean? OLDvalues1[3] doesnt exist, it's out of the range of the array.
You can modify OLDvalues1[3] even if it's out of the range of the array, however this will modify a different variable, which is allocated at the place in memory just after OLDValues1[2].
Better don't care which variable is affected, but fix the problem code)