A rough curving algorithm using bezier curves