The flexible housing. Criteria and strategies for implementation of the flexibility