Allow to join more than two ways (with tests)