mempool: add stack mempool handler