Rearranging forest trunks