change blocksize type from int to long