Government evolution under early dynasties in China