Optimization of forest soil mineralization degree in the agroecosystem