use size_t instead of uint64_t for rs_hash type