Improvements to block rotation