Whether there are 2 sides or 20, stacking rules do not change.
A hex can only ever contain 4 ground units. No more than 2 of those 4 can be from the same "side". And only 1 of those 4 can be a mech. (This is per elevation level, so it would be possible to add VTOL/WiGE units.)