adjust program switch threashhold