Merge all networks to a single network