redux the pigeonpack_hash function again, checking for duplicate hashes