hacking on isActive() (untested), use of std::array
new pack algorithm (in isActive() ) looks good