calculate allGroups, myGroups
Merge branch 'ast_dev'