MADS: Further refactoring for PaletteUsage data arrays