Change the range og uniform

since not all the array units are used, if we select number from 1-N, it
will give us some null units. So change the range to the front to rear