The proposed algorithm can decompose the entire network hierarchically, into the network part with the strongest bidirectional connections, the part with the second strongest, and so on down the line.