Analysis of the ferrofluid microstructure based on the static magnetic measurements