Magnetostatic properties of assembly of magnetic vortices