fix cfg files to reflect actual number of nodes