use heuristics value function
fix