fixed padding and speck transcode