add decompose.py