Array randomization issue

In reply to nedicm:

How did you constrain elements in new_array are from pre-defined trafic array?