Castings from housings to flanges