From a single algorithm to a stacking approach