bug fix in 'bd' and N mineralization in soilbgc