Resolution for erroneous space directions

CMTK creating invalid values