fixed the parameters for functions in nearestDSmax_RE.c