Fixes reserve (which should be resize) in sampleWDMass