histogram of Nscatt first version