Moved k from boro_k() to the node structure.