Reindent estimateCost's declaration and make it return Seqs.