I am at present, giving consideration to my next job, replacing my CU, with a physically larger one, with more ways (10 with a 18), to enable more house circuits to have separate supplies. Our present CU, fits with a few inches to spare, horizontally, with the cables entering via the rear. The only way the replacement will fit horizontally, without lots of joints external to the CU, is by fitting it at the same angle as the stairs - it's in the understairs cupboard, where it will fit (almost) neatly onto the back board. The other way it could be fitted, is vertically, where it would hang rather awkwardly below the backboard.