Resize When SampleUniform Size is Odd
Merge pull request #7 from reyoung/master

Fix issue #6, the patch needs some modifications,  will be done in next commit.