added macro for d ric mhe if work space static allocation