Began optimizing (intersect lines, find maximum still needs to be vectorized), 99% runtime...