Don't play with indices.
Track adder.
Vectors instead of rolling our own.
Simplify.
More std::vector
Fix memory leak.
Might as well use c++11....
Renumber accumulate.
Renaming in register bank.
Rename in counter4.