Effective scanning method of the NMSSM parameter space