@export

take_interval(prob, target)