Address constraint randomization

In reply to dave_59:

Hi Dave,

In the above code, is it mandatory to have 100% distributed while using the dist operator.
Also, I couldn’t understand why 1 is being subtracted from the boundary.

Please let me know.

Thanks in advance.