biomes: optimize a bit.

Certain point (stratum w check) needs statistical testing, I guess. So this patch can be reverted later in this particular change.

Signed-off-by: mkhropov <mkhropov@gmail.com>