Made it so that the extensions toward the last match and the end of the sequence in the compress function are replaced with extensions toward the start and end of the current chunk