replace smooth line with strict line