compleatly overhauling how i get lines. I had a problem previously with
bad pathfinding, trying to fix it