Add TODO: Optimize rotate
Optimise away some common cases for merge