Defect propagation in one-,two-, and three-dimensional compounds doped by magnetic atoms