I'm not an engineer but
I would imagine the rule of thumb is to have the maximum cabin width round about where the passengers' shoulders would be. This would tend to put the floor close to half-way up the cross-section on a larger aircraft, but proportionately closer to the bottom of the hull on a smaller one.