how does inventory affect cash flow