Check array size.