Improve bezier curves