fix a memory leak in OctreeElement, StDev