Combination: corrigindo currentCost em nextSequence