Generate vectors instead of arrays
Some C++ magic for testing