remove LRU cache duplication, and modify interface of LRUInsert