Btree somewhat working but all in memory