Terminal calibration optimization.