Encoder does not crash if no EMD