Rate-optimal Design for Anytime Best Arm Identification