```\n    // due to sqrt computation error, sideTokens to sell may be very few more than available\n    if (SignedMath.abs(tokensToSwap) > params.sideTokensAmount) {\n        if (SignedMath.abs(tokensToSwap) - params.sideTokensAmount < params.sideTokensAmount / 10000) {\n            tokensToSwap = SignedMath.revabs(params.sideTokensAmount, true);\n        }\n    }\n```\n