The dependence of the coercivity on the volume packing fraction for magnetic particles