added in thinning algorithm nodes to take a line to a single pizel