fixing the dictionary size