Record profile error, used for next machining pass