The Complex Dynamics of Financially Constrained Heterogeneous Firms