did num_factors.py serially