temp fix for if you don't use the update_total_depth.py: if total counts >1,000,000 divide by 1,000,000 to make sure that the optimization works