Words near dyck-word in the dictionary