heap: dynamic headers