If there are mods in the configs, then the node_count would not be initialised correctly. Moving to the read_configs function fixes this
If there are mods in the configs, then the node_count would not be initialised correctly. Moving to the read_configs function fixes this