Added autoCalcBlock