took square lattice into TNetwork