The Good, the Bad, and the not-so Ugly of Credit Booms: Capital Allocation and Financial Constraints