statehash
ph = statehash(key);
h = statehash(oldnp->key) & (size-1);
h = statehash(key) & (x3a->size-1);