cid.py: rich its function that merge shps based on valid_ids.txt instead of check process in mergeshp.py