Try with smaller key first
Fixes: also copy the value

We were only copying the key, we need to copy the value too.
Recast to 64 bits again