described the heuristic function in README.md