optimize move process