Add (faster?) hash function