dict now reallocates itself