Make a base EM problem that is shared between TD and FD