Set up struct heap internals