```\n// get the amount of tokens in the pool\n(uint256 \_3crvAmount, uint256 \_feiAmount) = (\n    IStableSwap2(pool).balances(\_3crvIndex),\n    IStableSwap2(pool).balances(\_feiIndex)\n);\n// // rest of code and the expected amount of 3crv in it after deposit\nuint256 \_3crvAmountAfter = \_3crvAmount + \_3crvBalanceAfter;\n \n// get the usd value of 3crv in the pool\nuint256 \_3crvUsdValue = \_3crvAmountAfter \* IStableSwap3(\_3pool).get\_virtual\_price() / 1e18;\n \n// compute the number of FEI to deposit\nuint256 \_feiToDeposit = 0;\nif (\_3crvUsdValue > \_feiAmount) {\n    \_feiToDeposit = \_3crvUsdValue - \_feiAmount;\n}\n```\n