genPtWeights