add options to select the different type of smooth drawing algorithms