testing scale_to_max, N=1000, sweeping NOthresh_scale