SyncCalcPi using dispatcher