Use Merge Identical Colors to merge the color blocks of threads with identical colors in the design. This is useful, for example, if the same color has been added twice using the color picker, or if the color was used to draw stitches and in a pattern used in a fill.
Choose Edit > Merge Identical Colors.