adding refinement strategy with variable-thresholding option