modify sampling
Merge pull request #9 from ranyu/master

modify sampling