Hoy can I do this with geometry nodes?

Hi! First of all, sorry for my english.

This is the question, i want to make a book collection with geometry nodes, this is my progress:

I have use a atribute randomize to make different height and depth to the books, but as you can see the books are not stuck (i dont know if this is the right word xD)

The geo node is created in a cube:

Any idea about how can I make the books generates stuck when I add or remove books?


This is how you could do it with Sverchok