//if yes, add your childrens tempTotals
if ((nodePcountSize[lc] != 0) && (nodePcountSize[rc] != 0)) {
totalBL += tempTotals[lc] + tempTotals[rc];
//if yes, add your childrens tempTotals
if ((nodePcountSize[lc] != 0) && (nodePcountSize[rc] != 0)) {
totalBL += tempTotals[lc] + tempTotals[rc];