Use max_log and not inst_log in case inst_log changes when adding nop instructions.