summary.py: ability to merge logs with intersections only