Collective ferromagnetism in two-component Fermi-degenerate gas trapped in a finite potential