An unexpected effect of oversampling factor while calculating ice velocities

I have met an unexpected effect when calculating ice velocity. When the values of oversampling factor are 256 and below, the program normally calculates offsets. If oversamplibg factor equels 512, the program is unable to calculate offsets. I don’t understand the reason of this effect. What could it be?