first cut at in-memory expansion