CompilerError: Stack too deep!

:computer: Environment
Remix

:memo:Details
When i try to compile i get this error: CompilerError: Stack too deep, try removing local variables. → Pow.sol:914:80: | 914 | (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tBurn, tCommunity, _getRate()); | ^^^^^^^

:1234: Code to reproduce

Ive searched online and i found out that the use of structs or reducing the scope could help. but i have no idea how to implement this. You help would be deeply appreciated.

Thanks in advance.

I think you can have a look at this article: