Updated the max array sizes

But still could process only 607 files,its giving seg fault after that.But this is the max array size that can be kept