removes reshape dependency from calComDat