Rewrote the kernel heap