Work towards fixing the LZ encoding for long distances