add node distribution at depths, and a excel file for leaf node handling