Added leaf and root nodes to low_k merging