Building kernel heap