Optimization of the semileptonic STOP analysis