modify network to new structure with K*grps global links.
format adjustment.trivial modify
new network structure and corresponding fully-adaptive routing algorithm