Reduces graph size