+some imporvements. print npMean per leaf statistics