mrcc_generate_input