Reconstructing past vegetation dynamics