Allow changing K