Shrink untyped arrays more effectively