add shift mode into pick_sample.py