Theoretical investigation on the effect of volume fraction in the optical trapping of gold nanoparticles