remove short and common words from keys, truncate long keys