shortest substring with all characters