shape: add missing padding bytes