rebuild packets