Changed blockSize so that now we pass it in