Distirbuted: reverted changes to move node adding in cfg