Added an array of packet lengths.