avoid drawing lines where two points are in the same spot. this mai be confusing...