converter for cdd input to polylib input