Add static buff for optimize