Problem to properly organize metaball curve list

Hello everyone,

I am trying to do a metaball compost but I could’nt organize it properly since I have left with to many curves on the top side of the shape. I did a turnaround by maipulating the list and choosing what I wanted but it doesnt feel so clear and I would like to have a more consice code. Anyone know how to make it clearer? Thanks in advance.
dvdmetab.gh (24.7 KB)