Fixed the overlap in decompression; now decompression works up to the first match