fix fence post error

leading to a miscalculation of the velocity increments