initial version of mods/flags splicing reifier