improve line drawing in scg