averaging over runs for smoother function