Size Distribution and Firm Dynamics in an Economy with Credit Shocks