Simulation of forest ecosystems across scales