the consensus on using find_candidate has been reached on the mailing list. the solution chosen at the moment is to use two functions, one for the sorted case that is implemented in correspondences_4 and another is _unsorted case which is more general one and presently used in mousefunction.c