Added an immutable accumulator that shares the vector