Supporting one file submission: compute distance from empty to full graph