We present the simulation results of magnetic 2D and 3D structures with direct (for both of them) and Dzyaloshinskii-Moriya (DMI) (for 2D lattice) interactions in the frame of the Heisenberg model. We have adapted the multipath Metropolis algorithm for systems with complex types of exchange interactions and rough energy landscapes. We show the temperature behavior of magnetization, energy, and heat capacity, and reveal its critical temperatures and order parameter.