Compensate with stored values as function of machining time