Preserve producer bean grouping over power graph compression