[graphspell] spelling suggestion speed up: calculate approximate distance while exploring the word graph