Words near toroidally in the dictionary