Mistake in when computing size of a packet :/