random: eliminate redundant new_rotate variable