box_rotate1/2 added.