Words near attainments in the dictionary