Solving the stand management problem under biodiversity-related considerations