Early return for computeIndexKey at last tree level
Small refactoring / cleanup
Fix #16: Nodes are now pruned directly in updateNode.