fix setting of block sizeg