Might sound a daft question, but if the 53 is too small and the 55 is too large, why not try a 'brand' with a 54 available?
I note that many manufacturers these days opt for S, M, L and XL which cover a range of sizes (eg the L might be 54-56) based on adjustments to stem and seat post length. Clearly, as already mentioned, angles will also be important as that will affect dimensions.
I have various bikes with varying stem lengths and amount of seat post showing, but they all have one thing in common, namely the measurements from crank to saddle, saddle tip to handlebar and front axle to handlebar are the same. If the frame is aggressive (close clearance big angles) then the saddle might lay back more than on the XC bike, but the measurements can be the same. Surely, this is what is important and as long as you can mirror the measurements you can vary the frame size (whatever frame size is these days).