fixed hash method