algorithm integration in ESM3