Changed the network structure to a tree