fixed 1/256 chance of payload length overflow