Small changes to CDD.py