The Rayleigh–Bénard problem in intermediate bounded domains