or should states be all the leaves from the sample and mode be a flag on them?
u
or should states be all the leaves from the sample and mode be a flag on them?