1. A processing system comprising: a memory for storing an input bit stream; and a processing device, operatively coupled to the memory, to: identify a candidate bit subsequence within the input bit stream; identify a first bit subsequence and a second bit subsequence based on the candidate bit subsequence; determine a first score for the first bit subsequence based on a location of first bit subsequence in the input bit stream with respect to the candidate bit subsequence; determine a second score for the second bit subsequence based on a location of second bit subsequence in the input bit stream with respect to the candidate bit subsequence; and replace data associated with one of the first bit subsequence or the second bit subsequence in an output bit stream based on the first score and the second score.