keep working on sampleByParticle caseVolume sub functions in py/core/cmd.py.