test straight random numbers
fix span calc for [0,n)