adding binarytreeserialize and LRU