slight compression improvement by simplifying appendSrc()