draw first lines to path endings. seems to work, but still a lot to do