How to (de)compress BIOS dump?

I am trying to decompress my LZMA compressed BIOS dump so I can manually HEX edit it without having to use UEFITool and extract the single modules. I use 7-Zip for the decompression (7z.exe e -so BIOS.bin >> BIOSDecompressed.bin). It seems to work fine as I can find everything I’m looking for now but the problem is the compression. How do I compress the file again so it’s a valid BIOS dump?