handle small files in similarity metrics