Flexibility principles for contemporary cities