optimized sphere test
optimized sphere test a bit more
added octree