keyGenForMap