e.printStackTrace();
}
final IterableInterval< T > dogIterable = Views.iterable( dog );
final IterableInterval< T > tmpIterable = Views.iterable( tmpInterval );
final long size = dogIterable.size();
<BUG>final int numTasks = Runtime.getRuntime().availableProcessors() * 20;

final long taskSize = size / numTasks;</BUG>
final ArrayList< Future< Void >> futures = new ArrayList< Future< Void >>();
for ( int taskNum = 0; taskNum < numTasks; ++taskNum )

e.printStackTrace();
}
final IterableInterval< T > dogIterable = Views.iterable( dog );
final IterableInterval< T > tmpIterable = Views.iterable( tmpInterval );
final long size = dogIterable.size();
final int numThreads = Runtime.getRuntime().availableProcessors();
final int numTasks = numThreads <= 1 ? 1 : numThreads * 20;
final long taskSize = size / numTasks;
final ArrayList< Future< Void >> futures = new ArrayList< Future< Void >>();
for ( int taskNum = 0; taskNum < numTasks; ++taskNum )
