calc_overlap.py: incremental progress.