htable: use "perfect" bit to reduce rehashes.