Fix length for corpora on empty files