If t=1 and c=1, then don't spawn a thread, just call optimise().
If t=1 and c=1, then don't spawn a thread, just call optimise().