set min distance and accuracy finals