Constraint randomization of an array

In reply to gnich: