how to get a padded slice of a multidimensional array?,arr[-2:2]