This always wasn't the best and started to result in CI failures now as recent versions of gcc (e.g. 11.3 in Ubuntu 2.2.04) started giving -Wdeprecated-enum-float-conversion when using REAL_SIZE in the expressions.