Adding calculation stagesCores logic