Optimised symmetrisation routine by using array-valued indices.