change thresholding paramter for aligning