Carbon sequestration, optimum forest rotation and their environmental impact