Use fast octree lookup and fix bug in negative position translation.