why use prime in hash function