added statistical prunning part 1