Fixed issue with allocating too little memory, and the memory leak with
Read/ModNodes.
Added type information to off heap Nodes.