Mixing color support?

Do you had any success, I have a dual mixing extruder in the configuration 2in 1 out.
I can print just with one color with the extruder setup

[extruder]
step_pin: PL3 #PL6
dir_pin: PL5 #PL4
enable_pin: !PB6 #!PG0
microsteps: 16
rotation_distance: 6.98159 #7.7# 11.88736 #8.01504 #8.25549
nozzle_diameter: 0.4
filament_diameter: 1.750
heater_pin: PE5 #PE4
sensor_type: Generic 3950
sensor_pin: arduino:PC0 #PF1 #PF0
min_temp: 0 #0
max_temp: 250
#control: pid
#pid_kp: 23.770
#pid_ki: 0.938
#pid_kd: 150.631
min_extrude_temp: 180
max_extrude_only_distance: 150
pressure_advance = 0.6

[extruder_stepper extruder1]
extruder: 
step_pin: PL0
dir_pin: PL2
enable_pin: !PL1
microsteps: 16
rotation_distance: 6.98159 #7.7# 11.88736 #8.01504 #8.25549 #33.500
pressure_advance = 0.6

I then tried to implement M163 and M164,

[gcode_macro T0]
gcode:
	SYNC_EXTRUDER_MOTION EXTRUDER="extruder" MOTION_QUEUE="extruder"
	SYNC_EXTRUDER_MOTION EXTRUDER="extruder1" MOTION_QUEUE=""

[gcode_macro M163]  

# M163 [P<factor>] [S<index>] Set a single mix factor (in proportion to the sum total of all mix factors). The mix must be committed to a virtual tool by M164 before it takes effect.
gcode:
  {% if 'P' in params %}
     {% if 'S' in params %}
       {% if params.S == 0 %}
         M118 Set Mixing factor for tool {params.S|default(50)|float} to {params.P|default(50)|float}
         SET_GCODE_VARIABLE MACRO=M164 VARIABLE=e0_percentage VALUE={params.P|default(50)|float}
       {% else %}
         SET_GCODE_VARIABLE MACRO=M164 VARIABLE=e1_percentage VALUE={params.P|default(50)|float} 
         M118 Set Mixing factor for tool 1 to {params.P|default(50)|float}
       {% endif %}  
     {% else %}
       SET_GCODE_VARIABLE MACRO=M164 VARIABLE=e0_percentage VALUE={params.P|default(50)|float}
       SET_GCODE_VARIABLE MACRO=M164 VARIABLE=e1_percentage VALUE={100-params.P|default(50)|float}
       M118 Set Mixing factor to {params.P|default(50)|float} adnd {100-params.P|default(50)|float}
     {% endif %} 
  {% else %}   
     M118 No Mixing factor set, missing values for P and S
  {% endi

[gcode_macro M164]    
  variable_e0_percentage : 50 # default values
  variable_e1_percentage : 50
  
gcode:
  {% set e0 = e0_percentage / (e0_percentage + e1_percentage) | float %} # later treat the sum for all tools to 100% extrusion
  {% set e1 = e1_percentage / (e0_percentage + e1_percentage) | float %}
  M118 Got e0 { printer.configfile.settings.extruder.rotation_distance }
  M118 Got e1 { printer.configfile.settings['extruder_stepper extruder1'].rotation_distance  }
  M118 Mixing factor {e0} and {e1} 
  M118 e0 rot-dist { printer.configfile.settings.extruder.rotation_distance * e0|float }
  M118 e1 rot-dist { printer.configfile.settings['extruder_stepper extruder1'].rotation_distance * e1|float } 
  # activate stepper percentages
  SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=extruder DISTANCE={ printer.configfile.settings.extruder.rotation_distance * e0 / 2 |float }
  SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=extruder1 DISTANCE={ printer.configfile.settings['extruder_stepper extruder1'].rotation_distance * e1 / 2|float } 
  SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=extruder # Add e0
  SYNC_EXTRUDER_MOTION EXTRUDER=extruder1 MOTION_QUEUE=extruder # Add e1
  M118 Mixing factor {e0} and {e1} activated

but every time I change the mixing I got the error

MCU 'mcu' shutdown: Rescheduled timer in the past
This generally occurs when the micro-controller has been
requested to step at a rate higher than it is capable of
obtaining.
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

it seams that the extruder positions get messed up by changing the rotation distance for the two steppers to implement the mixing.
Any ideas what I am missing and can change?