Optimal modular network for multisensory integration