added: returning of heuristic of each state