finite time optimum