finish lz77 compress