RandomSampleOctree is working properly and the results have better look than the original octree.