They were excellent at assimilating people. An education-backed meritocracy with heavy Han culture does wonders for it. Chinese were not merely lucky; Confucian philosophy is built on community, and fuels integration.
It also helped that central Asian culture was somewhat weak and Tengriism...