corrections connected with deleting DIM from const.h