problems with m_rays, new join operation and pivotBall operation