added a secondary heuristic for detecting green markers (the old one)