Finished selectThreshold