Optimized variant for renderer ( first version )