make hash stable.