Calculate nearest intersector.