Local stability of the Cournot solution with increasing heterogeneous competitors