Title: The optimal speed of transition