Completed basic heuristic.