first and last padding fix
Merge pull request #2 from arthur-creek/master

first and last padding fix