Adapting flexibility in decision-making process of building design