consider probability values < 0 as invalid