10x speedup to --rg