the galactic library was the largest single structure on trantor ( possibly in the galaxy ) , much larger than even the imperial palace , and it had once gleamed and glittered , as though boasting of its size and magnificence .