Exploring the Limits of Contract Design in Debt Financing