merge two blocks of hosts