Added support for arrays larger that the default blocksize