Simple heuristic working properly