The patenting process, innovation, and size