optimized circle drawing