rpmc_g allows to resolve all sample simultaneously.