Molecular reorganization in wood