Structure function of the nucleus in the perturbative QCD with $N_c\rightarrow\infty$ (BFKL pomeron fan diagrams)