Added averaged bezier curves.