finish all-different