simplified the createEllipsoidFromQuery method