typo: hueristic -> heuristic