array change

elements can up to 5k*5k