Merge two topology to become only one.