Can't make a loop

It’s not very clear what you are after. Are you trying to make a group of all elements that are connected?

See this topic, in the end he gives an example with some furniture, looks like he got it working: