Algorithmic Debt Amortization