Changed polyglot key type to capital K, 64 bit int, so that it works both on 32 and 64 bit arch