fixed memory error in NonLeafNode.insert