Vector grouping

Please see:

and