Optimization for drawCourse()