Performance optimization for PieChartNode