private void constructInternalDataStructures(List<Chain> sos, List<Chain> background) { List<Chain> toIndex = new List<Chain>(); toIndex.AddRange(sos); toIndex.AddRange(background); foreach (Chain c in toIndex) { addToIndex(c); } } }