Works with defined lattice and heisenberg model.