A few cleanups.
Reset accumulator between rows. Works for rows of same size.