set m[k] from packets based on the Seq index