add pad option
Merge pull request #2 from jeromedecoster/pad

add pad option