small improvement in line drawing