finished circular shift