target: consolidate existing target/algo common_magic