Cube algorithm Vectors