speeding up the group/dump query in FAS