remove dead code in Dimcas.h