added ASSERT on wrong packet seq_num and length