initial revision of sum_package_size.py