further optimized drawing