the mask ABC should be M*U instead of U*M. let's see how bad it changes