modify packet size