Modify Preprocessing.py to deal with 10000 units