Fix size calcs of heartbeat length