add new constrants
add a temp tool to convert dcm to yaml file for debug.