Restructuring the library is something that was sorely needed in the game.
The only thing is that the algorithm isn't very clear – if a restructuring occurs without a library, what happens to the library?
Nothing happens. That's why there were sometimes funny situations, for example, on the 5th floor, there were 2 summons for water elementals.