[IMP] base: speed up the computation of users'groups