Function PendlePowerFarmToken.depositExactAmount() checks if position mint fee is not too big by reverting with TooMuchFee() error, if reducedShares == feeShares evaluates to true. This check is not sufficient, because if feeShares are bigger than reducedShares, the condition will succeed. Hence, the protection is not sufficient to protect against too big fee.
The check should be changed to if (reducedShares <= feeShares).
