pad: add methods to adjust the offset