first cut at generalizing to collect(). testE hangs
use real index var for collect
preliminary results for testB2
shortcut empty fixindex
update check for testB2
add size param to collect