updated assembly_stat.py