Effect of particle size on the magnetic properties of NiB