impl. Calibration and fix bug in PacketSerializer