Complex network model of the phase transition on the wealth distributions - from Pareto to the society without middle class