Fix tree-hash cnt n^2. Asserts, comment. Squash2