Make folds more efficient.