array layout adjustment