Fixed generation of transition matrix under the magnetic field