Added multiple threads and different document sizes