tuneThreshold: was somewhat broken / suboptimal because optimize was not good. we use optimizeSubints now