Small details added to rm_bg_prob