Now storing the best N combinations, and for each of those, trying every permutation of mirroring subtrees, to see which gives the best outcome.