improve shortened version of array toString