Title: R&D decisions, firm size and market structure