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

 

Wall:

Shelf:

a

Volume:

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