Fix: local and global accum indexes.