why not add this strings in genClusters? I don' see that fn is recursive.