The book you were reading was Volume 24 on Shelf 1 of Wall 1 of Hexagon:

 

Wall:

Shelf:

a

Volume:

A bookshelf with 32 volumes. The title of each is written on its spine.