Activator performance improvement

Shouldn't close the previous PR early. Turns out I did not have to change much of my design.

Pinging previous trackers
@pranavkm
@halter73 
@rynowak
@ipjohnson
@yishaigalatzer 
Yeah, some prime. Do we have policy on choosing prime for hashing? I see it pretty much everywhere in our code.