Added Octree filter function block.
Some minor bugfixes for octree function block.