curve smooth kernel