store log-probabilities