I remember, in the past, that there was a "rebuild layers" command, that - in my opinion - it was a good idea.
The command was for "compacting" into fewer layers the various layers and I liked it.
If something similar could be added in the future ….. it would be nice.
Bye,
Giorgio