Topological invariant responsible for the stability of the Fermi surfaces in non - homogeneous systems | Synapse