added function convert_b2curve_to_dcurve