Optimisation of the SHiP experimental design