dictionary impl; other memory reductions