convert marg stencil from repa to acc