A paradox in the theory of public investment