Changes to branch_analyzer class for most specific node calculation.