Added deflate_state properties for trees, with optimization notes