add jsdoc comment to RectGroup and CacheRectGroup