Non-constant heuristic function for benchmark (Manhattan distance)