Better sub-array validation