Correctly use num_engines_master