Update subchunk_factory.cpp