fix for potential keys with large unicode ( ex MENU for android ) triggering giant allocs.