cost adaptive architecture