stats for max msg size
flag for decoding