fix a typo on zero length array.
fix a typo on 8n sized keys.

Actually, the api may should have been replaced the char radix keys
with array of uint64_t; but let's just leave it like this for now.