A.A. Agrachev, F.C. Chittaro, Extremals flows and infinite horizon optimization