Words near shallowness in the dictionary