extract class GroupMargins