Optimized StandAtTask.