Cumulative frequency counts are kept of the number of times each monomer in the monomer dataset is found in the GA's population. These frequency counts are updated after each generation and used to rank monomer indexes from most to least frequently used. The Spearman coefficient is calculated at each generation to measure the rank correlation between the ranked monomer index order of the current generation and the previous generation. To determine convergence, a minimum Spearman coefficient and a minimum number of consecutive convergence generations are set at the outset of the GA run. When the Spearman coefficient between two generations meets or exceeds the minimum convergence Spearman coefficient, that generation is considered a convergence generation, and the counter for consecutive convergence generations is advanced by one. This counter continues advancing as long as the following generations continue to meet or exceed the minimum convergence Spearman coefficient; if this does not happen, the counter resets to zero. Once the counter reaches the minimum number of consecutive convergence generations required, termination is triggered and the GA cycle halts.