Have you looked at the "Yoking Random Pairs" section of the DirectRT manual?