A model of the adaptive reuse process of heritage buildings