Shorten arrays