almost at minimizting