add adaptive replacement cache implementation.