Reduce memory-related overhead during S3 signature creation in nextmethod.