Optimize shadow

Reduces choppiness