Continued implementing Balance BST for line intersections.