I'm making script which comes with a command that the host of a server can use to run checks over every brick to see if it can be combined with any other bricks, then if it can, it combines them, thus eventually reducing the brick count of a build by a lot.
It is set so that only bricks of the same owner will combine, and as for colors, there are a few different modes, either only bricks of the same color can be combined, or the bigger brick can be the one to set the color of the combined brick, or it can be the first brick which makes it more random, or it can just be red so that it is obvious what must be recolored.
I already have a working version, but I need to give it more combonations before I release it.
Here is an example picture attached. (I recolored the recolored bricks in the second screen)
Discuss the idea.