graph: remove excessive groups