Translated bench-key-proc test. Performance 2x as bad as C code, largely due to my inability to update Vectors