 The market's widespread gains, including rallies for both big tech behemoths and smaller stocks, departure from much of this month's trading, where a divide deepened between the two groups, the Russell 2000 index of small stocks brought its gain for July to more than 10%.