bezier drawing with debug setting at least 2
fixed #30