α ). In P , we build the stream of unique external determinants as follows. We loop over the list of internal determinants (the generators) sorted by decreasing c 2 I . For each generator |I , we generate all the singly-and doubly- excited determinants {|α }, removing from this set the in- ternal determinants and the determinants connected to any other generator |J such that J < I.