removed the static variable lzma_stream to private variable