keep max size of recv in packet