find best marker at each time