shachain: clarify design in terms of binary tree, reverse indexes.