Fixed offset calculation for biomes.