integrate memory and remove sense cache.