Changed fixed length of 100 bytes to dynamic packet size.