An iterative approach might be best. It gives you more control over each size, location, and any other conditions you might have. You can start by checking out these other topics, they use the same code for producing “random” values but might give you some context for how you want to build your logic.
Material color randomizer - DesignScript - Dynamo
Random.list and adjacent families - Revit - Dynamo