Increment sequence number after encoding