made blocksize adjustable