OAK-1418: Read performance regression Make the Head classes in MemoryNodeBuilder static and explicitly track the root head to avoid the performance overhead of accessing private fields of a containing class.