Optimization fo static shading devices

Optimization fo static shading devices