Optimize F3Dtree memory (from 2.7 gb to 2.2 gb)