Intialize EM if not initialized already