Fixed biome weights not working with non multiples of 10

As per title
Changing this would fubar anything that overrides it. so we need to keep it the same. However, we should be able to get away with the getBiome(list, isModded) wrapper that does :
if (modded) return rand(totalLength)
return rand(totalLength/10)*10;