add HARDWRAPS option
Merge pull request #192 from xuwei-k/issue191

add HARDWRAPS option