heuristicDistance args changed
abstract functions enabled