fixing shadow segments.
Segment rotation fixes.