Add API for static initialization to avoid usage of malloc
Add API for static initialization to avoid usage of malloc