added convert D curve to b2 curve