Update splitting.py