Stack of Timepix-based detectors with Si, GaAs:Cr and CdTe sensors with optimized thickness for spectral CT. (28th February 2019)