New algorithm wrapper.