rearrange figs