Refine threshold