Make accumulate return uint64_t