From tree to pallet and back again