Changed hash distribution algo for primitive collections.