Properly update word offset after rotation
Fixed race condition at end of for loop