Do not try to shrink empty arrays... :-)