Add smoothed out field function