Is it possible that any of the elements in `log_ratios` is equal to zero? That is, can `weight_count` be zero?