forgot updatestepcolor in a backward matrix