Height of printed part is incorrect
You should check that the steps per mm for your Z-axis are set correctly. This depends on the pitch of the leadscrews/threaded rods driving the axis and parameters of your steppers (microstepping and raw steps/revolution). This Calculator.

Make sure that your layer height is a multiple of a full step of the Z-stepper. The Z-stepper may be disabled intermittently, and when re-enabled it may "snap" to the nearest full step position. If your layer height requires microstepping, you may notice it getting rounded down or up due to this.

For instance, if a full step were 0.08&nbsp;mm, then 0.16&nbsp;mm layers would require 2 full steps, printing fine. 0.12&nbsp;mm layers would require 1 full step and a half microstep. Due to rounding, some layers might be reduced to 0.08&nbsp;mm instead. This might account for the height discrepancy you're seeing (though 0.08&nbsp;mm is quite a high, unrealistic amount for a full-step).