debug: mistake of calling std::vector::resize
finish v0.1, directly expand the features