Sane LZSS implementation, by Prof. Okumura