DOC improve documentation of the intersection algorithm