key length extended up to _KEY_LENGTH