What causes the failure of the randomization process?

In reply to cgales:

Could you give me an example for “If you add all the numbers and account for overflow,” I want each number to be between 0 and 100, but don’t know what I should add another constraint. What I need to add more for the constraint?