Pass of SPIHT
We have list S of significant values and a stack Z of
zero trees from the previous pass or the initialization.
if T has an index that becomes significant in bit plane k then
Z := Z’; {At this point all indices in zero trees in Z are insignificant}
for each (i,j) in S output the k-th significant bit, B[i,j,k].