he worked in the largest cubicle on the floor , which boasted a window and competed in size with the offices occupied by a dwindling number of middle managers , who spent most of the day behind closed doors .