Dinamic scanning finally works properly. Magnetic field changing is
described in RunAction class