edited packet size parameter to send packet