Smooth random value function