'chunk-vectorized' version of code, for one processor