large set data representation and save_cfg() function