How to build a spectrometer – tolerancing