Linear stiffness compensation