Stochastic N number (1-300) total & lt;=1500, if & gt;=1500 group.
And then assembled into & lt;=300, divided into 5 groups, most goal is as far as possible all the digital
For example, the following example
Digital packet
300 1
280 2
250
150
120
100
90
70
40 3
20 2