profiling in npdtree