mul add flatten