modified padding
Merge https://github.com/greysnipe/iwareness