A simple Monte-Carlo integrator to determine the volume of a nanoparticle