Original cuckoo hashing from Rasmus Pagh and Flemming Friche Rodler