packet assembling