architecture optimization