Correctly calculate amount to pay when loans are not fully-funded