changed estimate_probs