update the pairing rake task to generate pairs more efficiently