Changed LRU implementation