Calculate the feiDebt first and only withdraw the min(feiAmount,feiDebt) so that only required amount is withdrawn
