Idiosyncratic Shocks and the Role of Nonconvexities in Plant and Aggregate Investment Dynamics