adding formula for lz4 compression