move constant to m file
enable Beizer curve by default