An improved algorithm for finding community structure in networks with an application to IPv6 backbone network