Pad the output and update the spec