Fixed biome weights not working with non multiples of 10

As per title
Just a note: indent cases