Reformat type_megarom()