Moved computation to background thread.