added another config parameter maxDebt
* if allowDebt is true, maxDebt is the limiter