Calculate uniform probabilities (#868)