Reconstruction of pallets