Fix off-by-one when encoding large blocks of non-zero bytes
add zero-pair-elimination encoding