calc_overlap.py: Minor changes.