torbenb
committed
on 23 May 10
loop should use payoff instead of balance.