so trapped was viktor in his wretched thoughts , he barely remembered sprinting up eight floors , or reaching an end door that led into the planetarium room with telescopes and moonstone stars and a giant contraption of the solar system hanging from the ceiling on gears .