Add cell hashing to collision checking