Hej,
we made a project two years ago that included 64 inputs and 64 outputs. we used 4051 multiplexing the inputs and 4794 for shifting the outputs. As a result we got some eagle files for the multiplexers. The circuit is about 180x120mm if you are interested I will post them somewhere for you (and the rest) to download it and use it.
/d