Change key/value to set implementation (bintree)