Design and construction of a new RIXS spectrometer at BESSY II