refactor cdmHash, gdsHash, stop ignoring hash collisions