tried to integrate itnerseintersections.