Rotation now does bounds-checking.