Pr/9

Faster rotation.
Optimization.