added docstring for convert_b2curve_to_dcurve