Stability Diagrams of a Tunnel Nanoheterostructure in the Free-Electron Approximation