WeightedResevoirSample and recsys changes