changes related to performance of bezier curve.