Add utility function for reducing graphs.
Add tool to reduce a graph for many different sizes