As I understand the code the roll are not necessary on [1-100] but on the sum of the weight factors.
So, when a lead cluster is generated there is a roll [1:100] for each block and if the result is <= 80 it's a lead block and otherwise a silver block. Same principle for the the silver node ...