bezier improvement