Compute in main thread
State before fixing progress bar