Deconstruction programming for adaptive reuse of buildings