add DashLine algorithm