Figured out the intersection algorithm. Feels good.