Generalise join-along to more dimensions