formula for lz4 compression