auto_partition.py done. NOTHING IS TESTED YET.