debugged metallicity splitting, ready to plot