low mem lru code with bugs...