added a new heuristic for detecting green dots