epic has changed according to the discussion on the mailing list:
find_candidate is a single function with a new flag called is_sorted, == 1 from correspondences_4 and == 0 from mousefunction.c
the if statement is added to the inner loop of find_candidate
the check_epi.c test passes