memlayout header sync with latest cc0