CHUNK_SIZE should be 2 because the random number ranging from 0 to 65535 takes 16 bits, which is 2 bytes.