Text this: Diminishing marginal returns from R&D investment