Here are 5 Marx 1590 switches in a row with curves. This situation resulted when I recently added a Wye to the layout. I have no problems with this set up but it may help that the Marx 1590 switches have a low profile for the switch solenoid covers.
Charlie