Optimized readNode in BTreeWriter.java