Merge networks into a single one