GC: rearrange storage to reduce memory accesses in the inner loop